package com.smartHome.service;

import com.smartHome.pojo.vo.HouseListVO;
import com.smartHome.pojo.vo.HouseVO;
import com.smartHome.pojo.vo.HouseDetailVO;

import java.util.List;

public interface HouseService {
    List<HouseListVO> getAllHousesWithMembers(Integer userId);

    Integer getHouseOnlineDevices(Integer houseId);

    List<HouseVO> getByUserId(Integer userId);

    void addHouse(Integer userId, String houseName);

    /**
     * 批量删除房子
     * 
     * @param houseIds 要删除的房子ID列表
     */
    void deleteHouses(List<Integer> houseIds);

    /**
     * 获取房子详情
     * 
     * @param houseId 房子ID
     * @return 房子详情VO
     */
    HouseDetailVO getHouseDetail(Integer houseId);
}
